package cn.autumnorange.controller;


import org.springframework.web.bind.annotation.*;

@RestController
public class TestController {

    @GetMapping(value = "test/{code}")
    public String testCon(@PathVariable String code){
        return  "11111";
    }
    @RequestMapping("/TestJson")
    public Test home(@RequestBody Test test) {
        return test;
    }
}
